//
//  BaseViewController.h
//  customer
//
//  Created by Holothurian on 2018/10/19.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController

- (void)showLoading;

- (void)showLoadingTitle:(NSString*)title;

- (void)showTipWithTitle:(NSString*)title;

- (void)hideLoading;

- (void)hideLoadingAfter:(CGFloat)time;

- (void)showErrorTipWithTitle:(NSString*)title;

- (void)showSuccessWithType:(NSInteger)imageType AndTitle:(NSString *)title;


- (void)showSubmitSuccessPageWithTitle:(NSString *)tilte Somebody:(NSString *)somebody ButtonTitle:(NSString *)buttonTitle;


- (void)checkOutAppointment;

/**
 是否是pop回来的界面（一键报修）
 */
@property (nonatomic,assign)BOOL isPop;

/**
 pop带回数据
 */
@property (nonatomic,strong)NSArray *popArray;

@end

NS_ASSUME_NONNULL_END
